package com.jcxh.sg_exam.pojo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *
 * @TableName shicao
 */
@TableName(value ="shicao")
@Data
public class ShicaoDto implements Serializable {
    /**
     *
     */


    /**
     * 类型
     */
    @NotBlank(message = "类型不能为空")
    private String type;

    /**
     * 题目
     */
    @NotBlank(message = "题目不能为空")
    private String title;

    /**
     * 答案
     */
    @NotBlank(message = "答案不能为空")
    private String answer;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
